package com.bwie.controller;

import com.bwie.service.TbTagService;
import com.bwie.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/shop/index")
public class TbTagController {
    @Autowired
    TbTagService tbTagService;

    /**
     * 获取所有标签列表
     * @return
     */
    @PostMapping("/getTagListAll")
    public Result getTagListAll(){
        return tbTagService.getTagListAll();
    }
}
